From: Florian Müllner Date: Wed, 21 Feb 2018 13:03:18 +0000 (+0100) Subject: tests: Set calendar event source X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~994^2^2~6 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=cff0b81f323737c163a5394ebe61042bc6cc404c;p=gnome-shell.git tests: Set calendar event source Ever since commit e9e30138bd6 (2011!), the calendar only initialized the header at construction time. Set an event source to trigger an update of the content area, which is what the test is mainly intended for. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/38 --- diff --git a/tests/interactive/calendar.js b/tests/interactive/calendar.js index f2a70bb72..fa7e4a680 100644 --- a/tests/interactive/calendar.js +++ b/tests/interactive/calendar.js @@ -23,6 +23,7 @@ function test() { { expand: true, x_fill: false, x_align: St.Align.MIDDLE, y_fill: false, y_align: St.Align.START }); + calendar.setEventSource(new Calendar.EmptyEventSource()); UI.main(stage); }